package com.jron.cqiu.kernel.cmdline;

import com.jron.cqiu.util.Instance;

import java.io.PrintWriter;


/**
 * Created by Intellij IDEA.
 *
 * @Author: Yejw
 * @Date: 2008-6-23
 * @Time: 15:22:09
 */
public interface ICommandLineListener {

    static final int CONTINUE_READING = 1;
    static final int STOP_READING = 2;
    static final int GOON_BUT_STOP_READING = 3;

    static final String PREFIX = "$ ";
    static final String WELCOME = "--==========-- Welcome to Jron's world! --==========--";
    static final String GOODBYE = " See You !";

    ICommandLineListener INSTANCE = Instance.COMMANDLINE_LISTENER_INSTANCE;

    public int cmdEntered(PrintWriter pw, String... command);

}
